package net.xo68.destiny.manager.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;



/** 
 * NodeMonitor 实体
 * @author wuxie(16349023@qq.com)
 * @date 2020年12月14日 11:10:13
 *
 */
@ApiModel("NodeMonitor 实体")
public class NodeMonitor implements java.io.Serializable{
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@ApiModelProperty("编号")
	private Long id;
	/**
	 * 注册机器的host,格式：ip:port
	 */
	@ApiModelProperty("注册机器的host,格式：ip:port")
	private String nodeHost;
	/**
	 * 节点类型名称
	 */
	@ApiModelProperty("节点类型名称")
	private String nodeTypeName;
	/**
	 * 工作节点组英文名称
	 */
	@ApiModelProperty("工作节点组英文名称")
	private String workGroupName;
	/**
	 * cpu使用情况
	 */
	@ApiModelProperty("cpu使用情况")
	private Double cpuUsage;
	/**
	 * 内存使用情况
	 */
	@ApiModelProperty("内存使用情况")
	private Double memoryUsage;
	/**
	 * cpu负荷
	 */
	@ApiModelProperty("cpu负荷")
	private Double loadAverage;
	/**
	 * 注册时间
	 */
	@ApiModelProperty("注册时间")
	private Date regTime;
	
	@Override
	public String toString(){
		return "id:"+this.id+","+"nodeHost:"+this.nodeHost+","+"nodeTypeName:"+this.nodeTypeName+","+"workGroupName:"+this.workGroupName+","+"cpuUsage:"+this.cpuUsage+","+"memoryUsage:"+this.memoryUsage+","+"loadAverage:"+this.loadAverage+","+"regTime:"+this.regTime;
	}
	

	public Long getId() {
		return this.id;
	}
	public void setId(Long value) {
		this.id = value;
	}	

	public String getNodeHost() {
		return this.nodeHost;
	}
	public void setNodeHost(String value) {
		this.nodeHost = value;
	}	

	public String getNodeTypeName() {
		return this.nodeTypeName;
	}
	public void setNodeTypeName(String value) {
		this.nodeTypeName = value;
	}	

	public String getWorkGroupName() {
		return this.workGroupName;
	}
	public void setWorkGroupName(String value) {
		this.workGroupName = value;
	}	

	public Double getCpuUsage() {
		return this.cpuUsage;
	}
	public void setCpuUsage(Double value) {
		this.cpuUsage = value;
	}	

	public Double getMemoryUsage() {
		return this.memoryUsage;
	}
	public void setMemoryUsage(Double value) {
		this.memoryUsage = value;
	}	

	public Double getLoadAverage() {
		return this.loadAverage;
	}
	public void setLoadAverage(Double value) {
		this.loadAverage = value;
	}	

	public Date getRegTime() {
		return this.regTime;
	}
	public void setRegTime(Date value) {
		this.regTime = value;
	}	
}